<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Error_404_admin extends wsBackend
{

    public function index()
    {
        if (!$this->user->is_admin()) {
            redirect();
        }
        $data = array();
        $this->tpl->meta ['title'] = '404 Page Not Found - ' . $this->config->item('site_name');
        $this->tpl->meta ['description'] = '';
        $this->tpl->meta ['keywords'] = '';
        $this->tpl->page_header = '404 ERROR';
        $this->tpl->page_header_ = '';

        $this->output->set_status_header(404);
        $this->tpl->contents [] = $this->tpl->fetch('contents/error_404', $data);
        $this->tpl->render();
    }
}